package net.yla.smartbus.core.config;

/**
 * 项目常量
 */
public final class ProjectConstant {
    //项目基础包名称，根据自己公司的项目修改
    public static final String BASE_PACKAGE = "net.yla.smartbus";
    //项目基础包名称，根据自己公司的项目修改
    public static final String MODULE_PACKAGE = "net.yla.smartbus.module.%s";

    public static final String SERVICE_PACKAGE = MODULE_PACKAGE;//Service所在包
    public static final String SERVICE_IMPL_PACKAGE = SERVICE_PACKAGE;//ServiceImpl所在包
    public static final String CONTROLLER_PACKAGE = MODULE_PACKAGE;//Controller所在包

    //    管理员信息锁定时间5分钟
    public static final int LOCKEDMINUTE = 5;
    //    管理员信息锁定次数4次
    public static final int LOCKEDCOUNT = 5;
    //    IP信息错误上限 5次
    public static final int IPERRORCOUNT = 5;
    //    IP大于错误上限再次登录时间5分钟
    public static final int IPERRORMINUTE = 5;
    // 默认每页显示条数
    public static final int PAGECOUNT = 10;

    // ObjectType
    public static final int NOSETTING = 0;
    public static final int SUBSYSTEM = 1;
    public static final int SUBMODULE = 2;
    public static final int FUNCTION = 3;

    // ObjectId 如果ObjectType为3则ObjectId记录的是SP_Menus表MenuId值。
    public static final int BA = 1;
    public static final int OC = 2;
    public static final int CT = 3;
    public static final int VO = 4;
}
